package com.cetccloud.ap.util;

public enum ResultEnum {

    SUCCESS(200, "成功"),
    ERROR(500, "程序异常,请稍后再试");

    /**
     * 返回码
     */
    private Integer code;
    /**
     * 返回信息
     */
    private String msg;

    ResultEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
